#include <bits/stdc++.h>
#include "head.h"
int main(){
	char filename_F[z] = "Facultyfile.dat";
	char filename_W[z] = "Wagesfile.dat";
	Node *phead_F = createHead();
	Node *phead_W = createHead();
	readfile_F(phead_F, filename_F);
	readfile_W(phead_W, filename_W);
	menu(phead_W,phead_F);
	writefile_F(phead_F, filename_F);
	writefile_W(phead_W, filename_W);
	freeNode(phead_F);
	freeNode(phead_W);
	return 0;
}